html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: #FFF;
}

#container::-webkit-scrollbar-thumb {
    display: none;
}

* {
    outline: none;
    list-style: none;
}

ul {
    margin: 0;
    padding: 0;
}

#container {
    width: 100%;
    height: calc(100% - 2rem);
    overflow-y: auto;
}

#footer {
    width: 1000px;
    height: 2rem;
    font-size: 1.5rem;
    margin: 0 auto;
}

#footer .back_btn {
    display: block;
    float: right;
    padding: .3rem 1.5rem;
    font-size: 1rem;
    color: #FFF;
    background: #367dff;
    margin: 0 .5rem;
    border-radius: .1rem;
    cursor: pointer;
}

#footer .back_btn:hover {
    background-image: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59);
}

#table {
    margin: 0 auto;
    width: 1000px;
    position: relative;
}

#toolbar {
    width: 100%;
    background: #FFF;
    padding: 10px 0 10px 0;
}

#table_show {
    display: inline-block;
    width: 100%;
    height: 100%;
    float: left;
}

#toolbar .toolbar_item {
    width: 100%;
}

#toolbar .toolbar_item:not(:first-child) {
    margin-top: 5px;
}

#toolbar .input .i_input,
#toolbar .input .i_input:focus {
    border: 1px solid #ccc;
    height: 24px;
    padding: 2px 4px;
}

#toolbar .input .i_input:focus,
#toolbar .input .i_input:hover {
    border: 1px solid #367dff;
    box-shadow: 0 0 4px #367dff inset;
}

#toolbar .btn {
    height: 30px;
    padding: 5px 20px;
    line-height: 30px;
    background: #367dff;
    border-radius: 2px;
    color: #FFF;
    cursor: pointer;
    vertical-align: bottom;
    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
}

#toolbar .btn:hover {
    border: 1px solid #367dff;
    background-color: #FFF;
    color: #367dff;
}

#body,
#header {
    width: 100%;
    float: left;
}

#header .tr,
#body .tr {
    width: 100%;
    height: 3.5rem;
}

#header .tr {
    background: #0C0C0C;
    display: block;
    color: #FFF;
}

#body .tr {
    float: left;
}

#header .tr .th {
    display: block;
    float: left;
    text-align: center;
    font-size: 1.2rem;
    line-height: 3rem;
    font-weight: bold;
    width: 100%;
}

#body .tr .td {
    display: block;
    float: left;
    text-align: center;
    font-size: 1rem;
    line-height: 3rem;
    width: 100%;
}

/*在截图html2cancas 中, 需要将line-height 调整至他需要的款高,
设置高度是没用的会被默认当成display: block,height: 100% 处理*/
.text_input {
    padding: 4px 0;
    line-height: 3rem;
    display: block;
}

.th .text_input:focus,
.th .text_input:hover {
    box-shadow: 0 0 10px #FFF inset;
}

.th .text_input {
    border: none;
    background: #0C0C0C;
    color: #FFF;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.td .text_input:focus,
.td .text_input:hover {
    box-shadow: 0 0 10px #0C0C0C inset;
}

.td .text_input {
    border: none;
    background: #EEE;
    color: #0C0C0C;
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

.templ_content {
    display: inline-block;
    width: 300px;
    height: 28px;
    position: relative;
    border: 1px solid #367dff;
    user-select: none;
}

.templ_content .templ_checked {
    line-height: 28px;
    text-indent: .5rem;
    font-size: .8rem;
    width: 100%;
    display: block;
}

.templ_content:hover .templ_ul {
    display: block;
}

.templ_content .templ_ul {
    display: none;
    background: #FFF;
    height: 300px;
    width: 100%;
    border: 1px solid #367dff;
    color: #0C0C0C;
    overflow-y: auto;
    position: absolute;
    top: 27px;
    left: -1px;
}

.templ_content .templ_li {
    width: 100%;
    text-indent: .5rem;
    font-size: .8rem;
    line-height: 2rem;
    float: left;
    cursor: pointer;
}

.templ_content .templ_li:hover {
    background-color: #367dff;
    color: #FFF;
}